<?php
$servername = "localhost";
$username = "api";
$password = "api";
$dbname = "count";

// 创建连接
$conn = new mysqli($servername, $username, $password, $dbname);

// 检查连接
if ($conn->connect_error) {
  die("连接失败: " . $conn->connect_error);
}
?>
